#import <Cocoa/Cocoa.h>

@class BWColorsetDocument;
@class BWThreadColor;

@interface BWColorInspector : NSWindowController
{
    IBOutlet NSTextField *idField;
    IBOutlet NSTextField *nameField;
    IBOutlet NSColorWell *colorWell;

    BWColorsetDocument *currentDocument;
    BWThreadColor *currentColor;
}

+ (BWColorInspector *) defaultInspector;

- (void) setCurrentDocument: (BWColorsetDocument *) document;
- (void) setCurrentColor: (BWThreadColor *) color;

- (IBAction) apply: (id) sender;

@end // BWColorInspector
